| GUI Help > General > setGadgetAlign | ||||||||||||||
|
setGadgetAlign |
||||||||||||||
| setGadgetAlign handle gadget, int alignStyle | ||||||||||||||
|
Description: Specifies how the gadget fits into its parent gadget's space. By default, alignment is off (ALIGN_NONE). The gadget will not move or reposition if the parent is resized. The constants file provides various codes for different styles of alignment.
|
||||||||||||||
|
Return Value: |
||||||||||||||
| Parameters: | ||||||||||||||
|
|
||||||||||||||
| Remarks:
You may need to call doGadgetAlign after calling setGadgetAlign to see an immediate effect. |
||||||||||||||
| See Also:
|
||||||||||||||
|
Example: (Note: You will need to include the GUI constants file for this example to work) |